package com.wonder.app.domain;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @Description:TODO(生产订单实体类)
 *
 * @author: Wonder
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_prd_pick")
@ApiModel(value="t_prd_pick", description="生产领料单")
public class PrdPick extends Model<PrdPick> {
    @TableId(value ="id", type = IdType.AUTO)
    @ApiModelProperty(name = "id" , value = "编号")
    private Long id;


    @TableField(value = "FBILLNO")
    @ApiModelProperty(name = "FBILLNO" , value = "单据编号")
    private String FBILLNO;

    @TableField(value = "FKDBILLNO")
    @ApiModelProperty(name = "FKDBILLNO" , value = "金蝶单据编号")
    private String FKDBILLNO;

    @TableField(value = "FDATE")
    @ApiModelProperty(name = "FDATE" , value = "单据日期")
    private Date FDATE;


    @TableField(value = "CreateTime")
    @ApiModelProperty(name = "CreateTime" , value = "创建时间")
    private Date CreateTime;

    @TableField(value = "FBILLNOMO")
    @ApiModelProperty(name = "FBILLNOMO" , value = "生产订单单据编号")
    private String FBILLNOMO;

    @TableField(value = "FCREATEUSER")
    @ApiModelProperty(name = "FCREATEUSER" , value = "创建人")
    private String FCREATEUSER;

    @TableField(value = "FSTATE")
    @ApiModelProperty(name = "FSTATE" , value = "状态")
    private Boolean FSTATE;

    @TableField(value = "FWORKSHOPNO")
    @ApiModelProperty(name = "FWORKSHOPNO" , value = "车间编码")
    private String FWORKSHOPNO;

    @TableField(value = "FWORKSHOPNAME")
    @ApiModelProperty(name = "FWORKSHOPNAME" , value = "车间名称")
    private String FWORKSHOPNAME;

    @TableField(value = "JoinMaterialNo")
    @ApiModelProperty(name = "JoinMaterialNo" , value = "联副产品物料编码")
    private String JoinMaterialNo;

    @TableField(value = "JoinMaterialName")
    @ApiModelProperty(name = "JoinMaterialName" , value = "联副产品物料名称")
    private String JoinMaterialName;

    @TableField(value = "JoinUnitNo")
    @ApiModelProperty(name = "JoinUnitNo" , value = "联副产品单位编码")
    private String JoinUnitNo;

    @TableField(value = "JoinUnitName")
    @ApiModelProperty(name = "JoinUnitName" , value = "联副产品单位名称")
    private String JoinUnitName;

    @TableField(exist = false)
    private PickDetail pickDetail;

}
